#include <QtGui/QApplication>
 #include <QTranslator>
#include <QMessageBox>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QString locale = QLocale::system().name();

     QTranslator translator;
   //  translator.load(QString("arrowpad_") + locale);
     if (!translator.load("qtcube_en_EN.qm")) QMessageBox::information ( 0,QString("Warning"), QString("Can't load translator"));;
     a.installTranslator(&translator);

    MainWindow w;
    w.show();
    return a.exec();
}
